| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 8 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | const electron = require('electron'), |
||
| 25 | // On drag and drop file |
||
| 26 | ipcMain.on('ondragstart', function(event, filePath) { |
||
| 27 | event.sender.startDrag({ |
||
| 28 | file: filePath, |
||
| 29 | icon: appSettings.window.icon |
||
| 30 | }); |
||
| 31 | debug('File drag filepath: {0}'.format(filePath)); |
||
| 32 | event.sender.send('bwa:fileinput.confirmation', filePath, true); |
||
| 33 | }); |
||
| 35 |